
Label	trial_start
trial_chk=1

#̌ŊJn

Gosub	s0_0
Gosub	s0_1
Gosub	s0_2
Gosub	s0_3
Gosub	s0_4
Gosub	s1_0
Gosub	s1_1
Gosub	s2_0

#I
Gosub	s3_0

if vsel=0 then Goto	trial_sel_a1
if vsel=1 then Goto	trial_sel_b1
if vsel=2 then Goto	trial_sel_c1

Label	trial_sel_a1
      Gosub	ast_t1
      Gosub	ast_t2
      Gosub	fst1
      Gosub	fst1_a
      Gosub	ast_t3
      Gosub	ast_t4
      Gosub	ast_t4h
      Gosub	ast_t4a
if vsel=0 then       Goto	trial_sel_a110
if vsel=1 then       Goto	trial_sel_a111
      Label	trial_sel_a110
            Gosub	ast1
            Gosub	ast2
if vsel=0 then             Goto	trial_sel_a120
if vsel=1 then             Goto	trial_sel_a121
            Label	trial_sel_a120
                  Gosub	ast2_a
                  Gosub	ast2_ah
                  Gosub	ast2_aa
                  Goto	trial_end
            Label	trial_sel_a121
                  Gosub	xst1
                  Gosub	xst2
                  Gosub	xst2h
                  Gosub	xst2a
                  Goto	trial_end
      Label	trial_sel_a111
            Gosub	afst_sk1
            Gosub	afst_sk2
            Gosub	afst_skaf3
            Gosub	afst_skaf3h
            Goto	trial_end

Label	trial_sel_b1
      Gosub	select_1
      Gosub	b1_01
if vsel=0 then             Goto	trial_sel_b20
if vsel=1 then             Goto	trial_sel_b21
            Label	trial_sel_b20
                  Gosub	b1_01a
              Goto	trial_sel_b22
            Label	trial_sel_b21
                  Gosub	b1_01b
              Goto	trial_sel_b22
            Label	trial_sel_b22
            Gosub	b1_02
            Gosub	b2_01
            Gosub	b2_02
            Gosub	b2_02h
            Gosub	b2_03
if vsel=0 then             Goto	trial_sel_b30
if vsel=1 then             Goto	trial_sel_b31
            Label	trial_sel_b30
                  Gosub	b2_03ah
                  Gosub	b2_03a
              Goto	trial_sel_b32
            Label	trial_sel_b31
                  Gosub	b2_03bh
                  Gosub	b2_03b
              Goto	trial_sel_b32
            Label	trial_sel_b32
            Gosub	b2_04
            Goto	trial_end

Label	trial_sel_c1
      Gosub	c2_1s
      Gosub	c2_e1
      Gosub	c2_e1h
      Gosub	c2_e2
      Goto	trial_end



Label	trial_end
	Bgm	""
	Se	"",1
	WindowClose
	@event
	LayerLoad	0,"parts\trial.png"

#̌ŏI

	keyWait
	LayerLoad	61,"bg\bg_white.png",640,360,200,200
	LayerCameraDisable	61
	LayerFadein	61,60
	Wait	60
	reset
Goto	trial_start
